<script lang="ts" setup>
const openRouter = () => {
  window.electronAPI.createWindow('about', {width: 700, minWidth: 700});
}
</script>

<template>
  <div class="about">
    <h1>This is an home page</h1>

    <button @click="openRouter">打开新窗口-about页</button>
  </div>
</template>

<style>
@media (min-width: 1024px) {
  .about {
    min-height: 100vh;
    display: flex;
    align-items: center;
  }
}
</style>
